<?php 
$objLogin = new usuarioCliente($objConn);

$ArrPATH = explode("/",$_SERVER['SCRIPT_NAME']);
$strPagina = $ArrPATH[count($ArrPATH)-1];
	
if ( !$objLogin->logadoUsuario() ) {
 
	echo "<script>window.location.href='cadastroConfirma.php';</script>";

}elseif( $_SESSION[md5('cadastroCompleto')] == md5('NAO') && $strPagina != 'cadastroCompleta.php' && $_SESSION[md5('CPF_CNPJ')] == md5('CPF') ){
	echo "<script>window.location.href='cadastroCompleta.php';</script>";
}